<%@ page contentType= "text/html;charset=gb2312" %>

<html>
<%@ include file="../common/base.jsp" %>
<body>
<div id="container" >
	<%@ include file="../common/header.jsp" %>
    <div id="box">
        <div class="title"><fmt:message key="Optiworks" /> - <fmt:message key="Login" /></div>

        <div class="content">
            <form:form modelAttribute="loginCommand">

                <form:errors path="*" element="div" cssClass="errors"/>

                <div><div class="form-label"><fmt:message key="Username" />:</div><form:input path="username"/></div>
                <div><div class="form-label"><fmt:message key="Password" />:</div><form:password path="password"/></div>
                <div><form:checkbox path="rememberMe"/> <fmt:message key="RememberMe" /></div>
                <div><input type="submit" value="Login"/></div>
            </form:form>

            <div><fmt:message key="HaveAccount" /> <a href="<c:url value="/common/signup.o"/>"><fmt:message key='Signup' /></a></div>
        </div>
    </div>

	<div id="foot">
    	<fmt:message key="LoginComment" />
    </div>
</div>

<script type="text/javascript">
    document.getElementById('username').focus();
</script>
</div>
</body>
</html>
